package com.vincce.fitness.core.util;

import com.vincce.fitness.entity.Account;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2014/11/27.
 */
public class AccountUtil {

	public static Map<String,Account> map  = new HashMap<String,Account>();

	public static void initAccount(List<Account> list){
		if(!CheckUtil.isEmpty(list)){
			for(Account account : list){
				map.put(account.getAccountNo(),account);
			}
		}
	}
}
